import {useRoutes} from 'react-router-dom'
import router from './router'
const Router=()=>{
    return useRoutes(router)
}
export default Router